import axios from 'axios';

export const uploadIpfs = async (formdata: FormData): Promise<any> => {
  try {
    const result = await axios.post(`/bk/uploadIpfs/workflow`, formdata);
    return result.data || {};
  } catch (error) {
    return {};
  }
};